package org.bud.boot.result;

/**
 * @author shaun
 * @date 2024/7/19
 * @instruction
 */
public enum StatusCode {
    OK(200,"请求成功"),
    FAIL(500,"请求失败"),
    INTERFACE_ERROR(999,"接口出错"),
    DB_ERROR(560,"DB查询出错"),
    BUSINESS_ERROR(669,"业务查询出错");
    public final Integer code;
    public final String desc;
    StatusCode(final Integer code,final String desc){
        this.code = code;
        this.desc = desc;
    }
}
